import { queryUserinfo, addMarkInfo, addRealTimeMarkInfo, updateUserPassword } from './dbHelper';

/**
 * 人员信息
 * @returns
 */
export const getUserInfo = async (data: any) => {
  return await queryUserinfo(data);
};

//新增编辑与剪辑标注信息
export const saveMarkInfo = async (data: any) => {
  return await addMarkInfo(data);
};

//新增实时监控标注信息
export const saveRealTimeMarkInfo = async (data: any) => {
  return await addRealTimeMarkInfo(data);
};

export const updatePassword = async (data: any) => {
  return await updateUserPassword(data);
};
